﻿
using System.Collections.Generic;

namespace Sharp.Platform.Configuration
{
    /// <summary>
    /// 配置组类
    /// </summary>
    public class ConfigurationGroup
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="caption">The caption.</param>
        public ConfigurationGroup(string caption)
        {
            Items = new List<ConfigurationCatalog>();
            this.Caption = caption;
        }

        /// <summary>
        /// 标题
        /// </summary>
        /// <value>标题</value>
        public string Caption { get; set; }

        /// <summary>
        /// 内含配置目录
        /// </summary>
        /// <value>The items.</value>
        public List<ConfigurationCatalog> Items { get; private set; }
         
    }
}